package com.mediastory.spsserver.logging.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import net.sf.json.JSONObject;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.mediastory.spsserver.logging.dao.LoggingDao;
import com.mediastory.spsserver.logging.service.LoggingSvc;

@Service
@Transactional
public class LoggingSvcImpl implements LoggingSvc {

	@Autowired
	LoggingDao loggingDao;

	public LoggingSvcImpl() {
		// TODO Auto-generated constructor stub
	}

	@Override
	public List<Map<String, Object>> findbyListCategory(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListCategory(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListApp(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListApp(condition);
	}

	@Override
	public List<Map<String, Object>> findbyListAppId(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListAppId(condition);
	}

	@Override
	public List<Map<String, Object>> findbyListProtocolVer(
			Map<String, Object> condition) throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListProtocolVer(condition);
	}

	@Override
	public List<Map<String, Object>> findbyListContent(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListContent(condition);
	}

	@Override
	public List<Map<String, Object>> findbyListContDetail(
			Map<String, Object> condition) throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListContDetail(condition);
	}

	@Override
	public List<Map<String, Object>> findbyListPage(
			Map<String, Object> condition) throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListPage(condition);
	}

	@Override
	public List<Map<String, Object>> findbyListGrp(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListGrp(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListAppLifeCycle(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListAppLifeCycle(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListDownCont(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListDownCont(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListConfirmPush(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListConfirmPush(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListConfirmNotice(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListConfirmNotice(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListAppUpdate(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListAppUpdate(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListDetailedEvent(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListDetailedEvent(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListAdClick(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListAdClick(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListViewCont(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListViewCont(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListDetailCont(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListDetailCont(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyListViewLogData(Map<String, Object> condition)
			throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListViewLogData(condition);
	}
	
	@Override
	public List<Map<String, Object>> findbyModelList(Map<String, Object> condition) throws Exception {
		// TODO Auto-generated method stub
		return loggingDao.selectListModelList(condition);
	}
	
}